<template>
  <div class="center">
    <div class="main">
      <!--    中间个人简介部分-->
      <section class="shown_center">
        <div class="shown-people">
          <Avatar></Avatar>
<!--          <h2 class="people-id-2">是蛙蛙呀</h2>-->
<!--          <div class="people-identity-2">入党积极分子</div>-->
        </div>
      </section>
      <Menu></Menu>
      <router-view></router-view>
    </div>

  </div>


</template>

<script setup>

import Avatar from "../../components/avatar/Avatar.vue";
import Menu from "./components/Menu.vue";
</script>

<style scoped>
.center {
  width: 100%;
  /*background-color: yellow;*/
  background-color: rgba(229, 229, 229, 1);
  margin: 0 auto;
}

.main {
  width: 108rem;
  /*height: 50rem;*/
  margin: 0 auto;
  padding-bottom: 10px;
}

/*中间个人简介部分*/
.shown_center {
  height: 20rem;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-top: 11.5rem;
  padding-left: 4.5rem;
  background-image: url("/src/assets/images/shown-img.jpg");
}

.shown-people {
  width: 20rem;
  /*background-color: pink;*/
  /*position: relative;*/

}

.people-id-2, .people-id-3 {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 1);
  font-weight: 700;
  font-family: 黑体;
  position: absolute;
  top: 1.5rem;
  left: 30%;
}

.people-id-3 {
  color: rgba(156, 0, 0, 1);
}

.people-identity-2 {
  /*width:8.5rem;*/
  height: 2rem;
  position: absolute;
  top: 1.3rem;
  left: 65%;
  background-color: rgba(156, 0, 0, 1);
  font-size: 8.5px;
  line-height: 2rem;
  font-weight: bold;
  border-radius: 50px;
  text-align: center;
  /*font-family: "思源黑体";*/
  color: rgb(250, 250, 250);
  letter-spacing: 2px;
  padding-left: 1rem;
  padding-right: 1rem;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 1);
}


</style>
